package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.PaymentDetailExample;
import com.ymttest.database.sharding.db.sharding.model.PaymentDetailPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PaymentDetailMapper {
    int countByExample(PaymentDetailExample example);

    int deleteByExample(PaymentDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PaymentDetailPo record);

    int insertSelective(PaymentDetailPo record);

    List<PaymentDetailPo> selectByExample(PaymentDetailExample example);

    PaymentDetailPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PaymentDetailPo record, @Param("example") PaymentDetailExample example);

    int updateByExample(@Param("record") PaymentDetailPo record, @Param("example") PaymentDetailExample example);

    int updateByPrimaryKeySelective(PaymentDetailPo record);

    int updateByPrimaryKey(PaymentDetailPo record);
}